package com.gjh.service.system;




import com.github.pagehelper.PageInfo;
import com.gjh.domain.system.Role;

import java.util.List;

public interface RoleService {

    public List<Role> findAll(String companyId);

    void save(Role role);

    void update(Role role);

    Role findById(String id);

    void deleteById(String id);

    PageInfo findByPage(String companyId,Integer pageNum, Integer pageSize);

    void updateRoleModule(String roleId, String moduleIds);
}
